import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import state from './state'


Vue.use(Vuex)

export default new Vuex.Store({
   state:state,
   mutations:mutations,
   getters:{
       namedCity(state){
           return '中国-'+city
       }
   }
})